This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I can not compile for LF2407 by CCS V3.3

Other Parts Discussed in Thread: CCSTUDIO

I have a problem. I use CCS V3.3 Platinum ( limited 32k) . I open a project ( from internet LF24xx example ), but I can’t compile it .

CSS warns :

" Build error: cannot run dspcl.

  Build error: cannot run dspcl.

 

Build Complete,

  2 Errors, 0 Warnings, 0 Remarks"

 

I found "dspcl" in help. It's "Command that runs the compiler and the assembler" .

I opened the other project ( eg : F2808 or F28035, F28335 examples . It's ok. I can compile them) I don't understand. I think CCS V3.3 support to 24xx because allowing to choose 24xx device when creating a new project.

 

How to sovle this problem ?

3823.PWM_TEST.rar

  • This error usually means that the code generation tools either did not install properly or did not register.

    Please try the following steps first:

    1) In the CCS menu, go to Help->About, Component Manager, expand Build Tools and then TMS320C24xx. Make sure that C2400 Code Generation Tools is enabled.
    2) Close CCS. Open a command window, 'cd' to the directory C:\CCStudio_v3.3\C2400\cgtools\bin (or equivalent if your CCS is installed elsewhere). On the command prompt, type: regsvr32 bti2400.dll
    This should manually register the dll. Start up CCS and try the build again.

    If it still gives the same error, I would suggest performing a full uninstall/reinstall of CCS. If this is the only version of CCS installed on your machine, you can follow the steps described here to make sure you clean out the registry before doing the reinstall.

  • Hi,

    The project you sent is the original or created by you? The reason why I am asking this is because the build output file <cc_build_Debug.log> in the project you sent does not show any errors with dspcl at all.

    I managed to import and build the project correctly in CCSv3.3 Platinum (full), therefore I ask:

    Does your CCS version has the C2400 tools installed? If you received your CCS with a C28x development board the C2400 tools may not be installed or supported. To know where they should be installed, go to menu Help --> About --> Component Manager and check if you have an entry under Build Tools --> TMS320C24XX (see picture). If this does not exist, then the tool does not support C24x devices or it was not installed properly. 

    I spotted one detail that may affect the build process: the file <PWM.pjt> contains references to hardcoded paths for the output directory. I suggest opening this file in a text editor and change it to the parameters below:

    PWM.pjt said:

    ["Compiler" Settings: "Debug"]
    Options=-g -q -fr".\Debug" -d"_DEBUG" -v2xx

    ["Compiler" Settings: "Release"]
    Options=-q -o3 -fr".\Release" -v2xx

    Hope this helps,

    Rafael

     

  • I had same problem. You should try this.

    1) first look in C:\CCStudio_v3.3\C2400\cgtools\bin there should be dspcl.exe but it isn't,

    I don't no why but it is not automatically installed with CCS v3.3

    2) put this instead

    <URL removed>

    I hope this will help.

     

  • hanks to all so much. I have already compiled my project for 24xx  after adding  Milicevic's files to CCSv3.3 folder and edit compile option again with  "-v2xx" only  to compile 24xx family.

    Onc more times, thanks for your supports.